//
//  JKRCameraBackgroundView.h
//  JKRCameraDemo
//
//  Created by tronsis_ios on 16/8/30.
//  Copyright © 2016年 tronsis_ios. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol JKRCameraBackgroundViewDelegate <NSObject>

- (void)cameraBackgroundDidClickOpenFlash;
- (void)cameraBackgroundDidClickCloseFlash;
- (void)cameraBackgroundDidClickChangeFront;
- (void)cameraBackgroundDidClickChangeBack;
- (void)cameraBackgroundDidChangeFocus:(CGFloat)focus;
- (void)cameraBackgroundDidChangeZoom:(CGFloat)zoom;
- (void)cameraBackgroundDidTap:(CGPoint)point;
- (void)cameraBackgroundDidClickPlay;
- (void)cameraBackgroundDidClickPause;
- (void)cameraBackgroundDidClickSave;
- (void)cameraBackgroundDidClickDeleteCompleted:(void(^)())completed;

@end

@protocol JKRCameraBackgroundViewDatasource <NSObject>

- (NSArray *)cameraBackgroundMovies;

@end

@interface JKRCameraBackgroundView : UIView

@property (nonatomic, weak) id<JKRCameraBackgroundViewDelegate> delegate;
@property (nonatomic, weak) id<JKRCameraBackgroundViewDatasource> datasource;

@end
